<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>

<html>
    <head>
		<%@ include file="/WEB-INF/views/include/common.jsp" %>
		<meta name="AUTHOR" content="QroTech Inc." />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
		<meta http-equiv="PRAGMA" content="NO-CACHE">
		<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<title>큐로넷::위치관제시스템</title>
		<link rel="stylesheet" href="${cssUrl}/header-1.css" type="text/css" />
		<link rel="stylesheet" href="${cssUrl}/fancy_table.css" type="text/css" />
		<link rel="stylesheet" href="${cssUrl}/menu.css" type="text/css" />
		<link rel="stylesheet" href="${cssUrl}/table.css" type="text/css" />
		<link rel="stylesheet" href="${cssUrl}/button.css" type="text/css" />
		<link rel="stylesheet" href="${cssUrl}/secondmenu.css" type="text/css" />
		<link rel="stylesheet" href="${cssUrl}/body.css" type="text/css" />
		<link rel="stylesheet" href="${cssUrl}/Qronet_display_sub4.css" type="text/css" />
		<link rel="stylesheet" href="${cssUrl}/m-400.css" type="text/css" />
		
		<script src="${jsUrl}/pagenation.js"></script>
		<script src="${jsUrl}/windowSize.js"></script>
		<script src="${jsUrl}/m-400.js"></script>
    </head>
    <body>
    	<div class="headerContent">
	
		<div class="pageHeader">
			<%@ include file="/WEB-INF/views/include/logoLink.jsp" %>
			<div id="pageNav">
				<ul>
					<%@ include file="/WEB-INF/views/include/mainNaviStyle2.jsp" %>
					<!-- <a href="m-100.html" class="togglerHeader"><li class="hmenu0" id="hdmenu0"></li></a>
					<a href="#" class="togglerHeader"><li class="hmenu1" id="hdmenu1"></li></a>
					<a href="m-300.html" class="togglerHeader"><li class="hmenu2" id="hdmenu2"></li></a>
					<a href="m-400.html" class="togglerHeader"><li class="hmenu3" id="hdmenu3"></li></a>
					<a href="m-500.html" class="togglerHeader"><li class="hmenu4" id="hdmenu4"></li></a> -->
				</ul>
			</div>
			<div id="pageNavRight">
				<%@ include file="/WEB-INF/views/include/titleLink.jsp" %>
			</div>
		</div>
			<div class="header_line"></div>
		</div><!--header end-->	
		<div class="secondMenu" >
			<div id="menu">
				<%@ include file="/WEB-INF/views/include/m400innerNavi.jsp" %>
			</div>
		</div><!-- second menu end -->
        
        	
		
		<div class="mainContent">	
			<div class="searchInfo">
					<ul>
						<li class= "locationInfo"><span>공지사항</span></li>
					</ul>
					<div class="last"><a onclick="javscript:openQuestionPopup('http://www.qronet.co.kr/help/qronet_help.html#MonitoringArea')"><img src="${imgUrl}/question_mark.png"></a></div>
			</div><!-- searchInfo end -->	
	        <div class="m400">
	        	
	        	<div class="sub4_1_content">
	        		
    				<div class="table_wrapper">
    					<div class="button" style="margin-bottom:10px;"><a onClick="gotoList();"><img src="${imgUrl}/sub4_1_2_button.png"></a></div>
    					<table class="sub4_table" cellpadding="0" cellspacing="0">
    					<thead>
    						<tr>
    							<th width="70px">제목</th>
    							<th width="470px" class="left_align" style="font-weight: normal;"><c:out value="${boardView.title}" /></th>
    							<th width="40px">등록일</th>
    							<th width="80px" style="font-weight: normal;padding-right:20px;"><fmt:formatDate value="${boardView.regiTime}" pattern="yyyy-MM-dd"/></th>
    						</tr>
    					</thead>
    					<tbody>
    						<tr>
    							<td colspan="4">
    								<div class="sub4_para">
    									<c:out value="${boardView.contents}" escapeXml="No"/>
    								</div>
    							</td>
    						</tr>
    						
    						<tr>
    							<td class="next_page">
    								<a href="#"><img src="${imgUrl}/after_arrow.png"> 다음글</a>
    							</td>
    							<td colspan="3" class="left_align">
    								<a onClick="gotoView(1)"><p><c:out value="${nextBoardView.title}" /><input type="hidden" name="nextTextID" id="nextTextID" value="<c:out value="${nextBoardView.textID}" />"></p></a>
    							</td> 
    						</tr>
    						<tr>
    							<td class="next_page">
    								<a href="#"><img src="${imgUrl}/before_arrow.png"> 이전글</a>
    							</td>
    							<td colspan="3" class="left_align">
    								<a onClick="gotoView(2)"><p><c:out value="${prevBoardView.title}" /><input type="hidden" name="prevTextID" id="prevTextID" value="<c:out value="${prevBoardView.textID}" />"></p></a>
    							</td> 
    						</tr>
    					</tbody>
    				</table>
    				<div class="button"><a onClick="gotoList();"><img src="${imgUrl}/sub4_1_2_button.png"></a></div>
    			</div>
    		</div><!--sub4_1_content-->
	       </div>	
        	
		</div> <!-- mainContent end -->
		
		<div class="chart_footer">
		    <div class="footerCenter">
		       <span>Copyright ⓒ 2013 Qrotech Co.,Ltd. All rights reserved.</span>
		    </div>
	 </div>	<!-- footer end-->	
	<form name="theForm" id="theForm" action="" method="post" style="display:none;">
    		<input type="hidden" name="textID" id="textID">
    	</form>
    	<script language="javascript">
    		function gotoView(type) {
    			if (type == 1) {
    				$("#textID").val($("#nextTextID").val());
    			} else {
    				$("#textID").val($("#prevTextID").val());
    			}
    			
    			$("#theForm").attr("action", "/helper/helperNoticeView");
    			$("#theForm").submit();
    		}
    		
    		function gotoList() {
    			location.href= "/helper/helperNoticeMain";
    		}
    	</script>
  </body>
</html>
